<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<link rel="stylesheet" href="<tmpl_var name=css_path>/dauphin.css" type="text/css">
	<meta http-equiv="content-type" content="text/html; charset=utf-8">
	    <link rel="shortcut icon" href="<tmpl_var name=css_path>/favicon.ico" type="image/vnd.microsoft.icon">
    <link rel="icon" href="<tmpl_var name=css_path>/favicon.ico" type="image/vnd.microsoft.icon">
	<title><tmpl_if name="search_template_mode">
searching for &quot;<tmpl_var name=string>&quot;
<tmpl_else>
list
</tmpl_if> - <tmpl_var name="table_name"> - dauphin
</title> 
</head>
<body>
<tmpl_include name="nav.inc"> 
<tmpl_if name="message">
<div id="message">
<tmpl_var name="message">
</div>
</tmpl_if>

<table id="edit_table" border="1" width="90%">
	<tr>
		<th colspan="<tmpl_var name=outercolspan>"><form action=""><input type="hidden" name="mode" value="new"><input type ="submit" id="newitembutton" value="new item"></form>
			 <tmpl_var name="table_name"> : list 
			 
	  </th>
	</tr>
		<tr class="secondary">
		<th colspan="<tmpl_var name=outercolspan>">
		<tmpl_include name="list_buttons.inc">
				
				
				</th>
	</tr>

	<tr class="headers">
		<th>
#

			
		</th>
		<tmpl_loop name="display_field_names">
                  <tmpl_if name=sort_field_flag>
		    <th class="sort_field">
                        <a href="?mode=<tmpl_var name=mode>&amp;offset=<tmpl_var name=offset>&amp;sort_field=<tmpl_var name=name>&amp;sort_direction=<tmpl_var name=opposite>"><tmpl_var name="name"></a>
                    </th>
		    <tmpl_else>
		    <th>
                        <a href="?mode=<tmpl_var name=mode>&amp;offset=<tmpl_var name=offset>&amp;sort_field=<tmpl_var name=name>"><tmpl_var name="name">
                           </a>
                        </th>
                  </tmpl_if>
		</tmpl_loop>
		<th>
			functions
		</th>
	</tr>
	<tmpl_unless name="items">
	<tr>
	<td colspan="<tmpl_var name=outercolspan>">
	<tmpl_if name="string">
	No matching items found for search <em>'<tmpl_var name=string>'</em>
	<tmpl_else>
	No items found in database <em>'<tmpl_var name=main_table>'</em>
</tmpl_if>
	</td>
	</tr>
	</tmpl_unless>
	<tmpl_loop name="items"> 
	<tr class="<tmpl_if name=__odd__>odd<tmpl_else>even</tmpl_if>">
	<td>
			<tmpl_var name="number"> 
		</td>
		<tmpl_loop name="display_fields">
		<td><tmpl_var name="value"></td>
		</tmpl_loop>
		<td>
			<tmpl_if name="number">
                        <a href="?mode=edit&amp;id=<tmpl_var name=key_field>&amp;offset=<tmpl_var name=offset>&amp;string=<tmpl_var name=string>">edit</a>

	|
			<a href="?mode=display&amp;id=<tmpl_var name=key_field>&amp;offset=<tmpl_var name=offset>&amp;string=<tmpl_var name=string>">display</a>
	|
			<a href="?mode=delete&amp;id=<tmpl_var name=key_field>&amp;offset=<tmpl_var name=offset>&amp;string=<tmpl_var name=string>">delete&#8230;</a>
			
			<tmpl_else><br></tmpl_if>
		</td>
	</tr>
	</tmpl_loop>
	<tr class="secondary">
		<th colspan="<tmpl_var name=outercolspan>">
		<tmpl_include name="list_buttons.inc">
			

				
				</th>
	</tr>
</table>
<tmpl_include name="nav.inc">
</body>
</html>
